DioDocs for PDF
Create(DeviceContext,Bitmap1,Nullable<BitmapBrushProperties1>,Nullable<BrushProperties>) メソッド

GrapeCity.Documents.DX.Windows アセンブリ > GrapeCity.Documents.DX.Direct2D 名前空間 > BitmapBrush1 クラス > Create メソッド : Create(DeviceContext,Bitmap1,Nullable<BitmapBrushProperties1>,Nullable<BrushProperties>) メソッド
an instance of DeviceContext
The bitmap contents of the new brush.
The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the ExtendMode.Clamp horizontal and vertical extend modes and the BitmapInterpolationMode.Linear interpolation mode.
The opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix.
Creates an BitmapBrush from the specified bitmap.
シンタックス
'宣言
 
Public Overloads Shared Function Create( _
   ByVal deviceContext As DeviceContext, _
   ByVal bitmap As Bitmap1, _
   ByVal bitmapBrushProperties As System.Nullable(Of BitmapBrushProperties1), _
   ByVal brushProperties As System.Nullable(Of BrushProperties) _
) As BitmapBrush1
public static BitmapBrush1 Create( 
   DeviceContext deviceContext,
   Bitmap1 bitmap,
   System.Nullable<BitmapBrushProperties1> bitmapBrushProperties,
   System.Nullable<BrushProperties> brushProperties
)

パラメータ

deviceContext
an instance of DeviceContext
bitmap
The bitmap contents of the new brush.
bitmapBrushProperties
The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the ExtendMode.Clamp horizontal and vertical extend modes and the BitmapInterpolationMode.Linear interpolation mode.
brushProperties
The opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix.
参照

BitmapBrush1 クラス
BitmapBrush1 メンバ
オーバーロード一覧